//
//  MainTalkAboutViewModel.m
//  DataStatistics
//
//  Created by Kang on 16/7/4.
//  Copyright © 2016年 YTYangK. All rights reserved.
//

#import "MainTalkAboutViewModel.h"

@implementation MainTalkAboutViewModel
+(void)requestWithUrlForMainTalk:(id)obj andParam:(NSDictionary *)param success:(void(^)(NSDictionary *model))success failure:(void(^)(NSString *error))failure {

    [NetRequestClss requestWithUrl:@"messages/messages.asp" requestWithParameters:param method:NetMethodGET returnSuccess:^(id objs, int status, NSString *mag) {
        
        NSArray *messagesAry;
        if ([objs valueForKeyPath:@"body.messages"]) {
            NSLog(@"body.messages==>%@",objs);
          //  messagesAry = [objs]
        }
        
     //   if(responObject varluebody.body_iscf())
        
      //  success(objs);
    } returnError:^(NSString *err) {
        failure(err);
    }];
}

@end
